package com.example.chenduoyun.shuffle;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.view.Window;

import com.example.chenduoyun.shuffle.ui.SlideMenu;

/**
 * @author cdy
 */
public class MainActivity extends AppCompatActivity implements View.OnClickListener{
private SlideMenu smenu;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        supportRequestWindowFeature(Window.FEATURE_NO_TITLE);
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        smenu=(SlideMenu)findViewById(R.id.sm_menu);
        findViewById(R.id.ib_back).setOnClickListener(this);
    }
    public void onTabClick(View view){

    }
    @Override
    public void onClick(View v) {
        smenu.switchState();
    }
}
